]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
StAdjustment: note when 'changed' is not emitted
authorAndy Holmes <andrew.g.r.holmes@gmail.com>
Mon, 7 Sep 2020 22:54:21 +0000 (15:54 -0700)
committerAndy Holmes <andrew.g.r.holmes@gmail.com>
Mon, 7 Sep 2020 22:58:14 +0000 (15:58 -0700)
Like `GtkAdjustment`, `StAdjustment:changed` is not emitted for the
`value` property except when changed with `st_adjustment_set_values()`.

Note this behaviour in the signal documentation

closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/3147

src/st/st-adjustment.c

index 96b126c8dc1bc54da3570b26da161c7e47aab700..5235cb235715392faf30f5b2169acc4d78b6fbbd 100644 (file)
@@ -375,7 +375,8 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * StAdjustment::changed:
    * @self: the #StAdjustment
    *
-   * Emitted when any of the adjustment values have changed
+   * Emitted when any of the adjustment properties have changed, except for
+   * #StAdjustment:value.
    */
   signals[CHANGED] =
     g_signal_new ("changed",